﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace test.demo.Model.CAL
{
    /// <summary>
    /// 计划班次
    /// </summary>
    public class CAL_Shift : Entity<int>
    {
        /// <summary>
        /// 排班计划ID
        /// </summary>
        public int PlanId { get; set; }

        /// <summary>
        /// 显示顺序
        /// </summary>
        public int? OrderNum { get; set; }

        /// <summary>
        /// 班次名称
        /// </summary>
        public string ShiftName { get; set; }

        /// <summary>
        /// 轮班或任务的开始时间 
        /// </summary>
        public DateTime StartTime { get; set; }

        /// <summary>
        /// 轮班或任务的结束时间 
        /// </summary>
        public DateTime EndTime { get; set; }

        /// <summary>
        /// 备注信息，用于记录额外说明 
        /// </summary>
        public string? Remark { get; set; }

        /// <summary>
        /// 创建记录的用户标识 
        /// </summary>
        public string? CreateBy { get; set; }

        /// <summary>
        /// 创建记录的时间 
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 最后更新记录的用户标识 
        /// </summary>
        public string? UpdateBy { get; set; }

        /// <summary>
        /// 最后更新记录的时间 
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}
